package com.leather.market.config;


import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MQConfig {

    public final static String QUAN_QUENE = "quanquene";


    @Bean
    public Queue getQuene(){
        return new Queue(QUAN_QUENE,true);
    }


}
